import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {LoginComponent} from './oidc/login.component';
import {LoginingComponent} from './oidc/logining.component';
import {OidcModule} from './oidc/oidc.module';
import {AppComponent} from './app.component';


const routes: Routes = [
  {
    path: '',
    component: AppComponent
  },
  {
    path: 'login',
    component: LoginComponent
  },
  {
    path: 'logining',
    component: LoginingComponent
  }
];

@NgModule({
  imports: [
    RouterModule.forRoot(routes),

    OidcModule
  ],
  exports: [RouterModule]
})
export class AppRoutingModule {
}
